package com.cxria.springboottest;

import com.cxria.springboottest.repository.factory.BaseRepositoryFactoryBean;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan
import org.springframework.context.annotation.ImportResource;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

@SpringBootApplication
@EnableJpaRepositories(repositoryFactoryBeanClass = BaseRepositoryFactoryBean.class)
@ServletComponentScan
//@ImportResource("classpath:spring/spring-shiro.xml")
public class Application{

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }

}


